[INFO] cloning repository https://github.com/matt-thomson/github-sweep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt-thomson/github-sweep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 558cafddfc46f8ae7352a5895553cc7c3562d6f0
[INFO] checking matt-thomson/github-sweep against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matt-thomson/github-sweep on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] finished tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] tweaked toml for git repo https://github.com/matt-thomson/github-sweep written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/matt-thomson/github-sweep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5ccc086230661d104e69cbe1d03a7356cec2d4284f73a8499da8c851f8f13af
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e5ccc086230661d104e69cbe1d03a7356cec2d4284f73a8499da8c851f8f13af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5ccc086230661d104e69cbe1d03a7356cec2d4284f73a8499da8c851f8f13af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5ccc086230661d104e69cbe1d03a7356cec2d4284f73a8499da8c851f8f13af", kill_on_drop: false }`
[INFO] [stdout] e5ccc086230661d104e69cbe1d03a7356cec2d4284f73a8499da8c851f8f13af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faa5994f71d9d30fb98f88f6b15908de9258e749746bc3327ec5bcde8bd7b54c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "faa5994f71d9d30fb98f88f6b15908de9258e749746bc3327ec5bcde8bd7b54c", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking tracing-core v0.1.16
[INFO] [stderr]     Checking socket2 v0.3.15
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]     Checking github-sweep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stdout]  --> src/http.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stdout]   |                     |              |      |
[INFO] [stdout]   |                     |              |      no `Headers` in `header`
[INFO] [stdout]   |                     |              no `Basic` in `header`
[INFO] [stdout]   |                     no `Authorization` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stdout]  --> src/error.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stdout]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stdout]  --> src/http.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stdout]   |                     |              |      |
[INFO] [stdout]   |                     |              |      no `Headers` in `header`
[INFO] [stdout]   |                     |              no `Basic` in `header`
[INFO] [stdout]   |                     no `Authorization` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stdout]  --> src/error.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stdout]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `Response` is private
[INFO] [stdout]   --> src/http.rs:2:20
[INFO] [stdout]    |
[INFO] [stdout] 2  | use hyper::client::Response;
[INFO] [stdout]    |                    ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `Response` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.7/src/client/mod.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version};
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let username = try!(env_var("GITHUB_SWEEP_USER"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let token = try!(env_var("GITHUB_SWEEP_TOKEN"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let response = try!(client.put("https://api.github.com/notifications", "{}"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 1, found 0
[INFO] [stdout]  --> src/http.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     client: hyper::Client,
[INFO] [stdout]   |             ^^^^^^^^^^^^^ expected at least 1 type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `Response` is private
[INFO] [stdout]   --> src/http.rs:2:20
[INFO] [stdout]    |
[INFO] [stdout] 2  | use hyper::client::Response;
[INFO] [stdout]    |                    ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `Response` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.7/src/client/mod.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version};
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `github-sweep`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let username = try!(env_var("GITHUB_SWEEP_USER"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/credentials.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let token = try!(env_var("GITHUB_SWEEP_TOKEN"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let response = try!(client.put("https://api.github.com/notifications", "{}"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: wrong number of type arguments: expected at least 1, found 0
[INFO] [stdout]  --> src/http.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     client: hyper::Client,
[INFO] [stdout]   |             ^^^^^^^^^^^^^ expected at least 1 type argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "faa5994f71d9d30fb98f88f6b15908de9258e749746bc3327ec5bcde8bd7b54c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faa5994f71d9d30fb98f88f6b15908de9258e749746bc3327ec5bcde8bd7b54c", kill_on_drop: false }`
[INFO] [stdout] faa5994f71d9d30fb98f88f6b15908de9258e749746bc3327ec5bcde8bd7b54c
